package dataDTO;

public class CommodityBatchDTO
{
	int cbId;                     // i omraadet 1-99999999
	int commodityId;             // i omraadet 1-99999999
	double volume;             // kan vaere negativ 

	public CommodityBatchDTO(int cbId, int commodityId, double volume)
	{
		this.cbId = cbId;
		this.commodityId = commodityId;
		this.volume = volume;
	}
	
	public int getCbId() { return cbId; }
	public void setCbId(int cbId) { this.cbId = cbId; }
	public int getCommodityId() { return commodityId; }
	public void setCommodityId(int commodityId) { this.commodityId = commodityId; }
	public double getVolume() { return volume; }
	public void setVolume(double volume) { this.volume = volume; }
	public String toString() { 
		return cbId + "\t" + commodityId +"\t" + volume; 
	}
}
